﻿
/*
 * 文件名：User.cs
 * 类名：XHCTMS.DAL.User
 * 创建人：杨学鹏
 * 创建时间：2013-5-21
 * 
 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace XHCTMS.BLL
{
    public class ClassroomPerformance
    {
        /// <summary>
        /// 查询一个班级的学生
        /// </summary>
        /// <param name="ClassId">班级号</param>
        /// <returns>返回DataTalbe null/异常</returns>
        public DataTable GetClassStudent(int ClassId)
        {
            return new DAL.ClassroomPerformance().GetClassStudent(ClassId);
        }

        /// <summary>
        /// 给学生设置分数
        /// </summary>
        /// <param name="StudentScores">学生分数</param>
        /// <returns>返回int类型 >=1/操作成功, 0/失败, -1/异常</returns>
        public int SetStudentScores(string[] StudentScores)
        {
            return new DAL.ClassroomPerformance().SetStudentScores(StudentScores);
        }
    }
}
